package com.hyopt.modules.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyopt.common.utils.QueryExt;
import com.hyopt.modules.app.entity.CoinDetailEntity;
import com.hyopt.modules.app.form.CoinDetailCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * TODO 积分明细Dao
 *
 * @author crazypenguin
 * @version 1.0.0
 * @createdate 2019/1/3
 */
@Mapper
public interface CoinDetailDao extends BaseMapper<CoinDetailEntity> {
    List selectByPhone(@Param("map") Map map);

    List selectPageCoin(QueryExt query, @Param("map") Map map);

    CoinDetailCount selectCastCoinCounts(QueryExt query, @Param("map") Map map);

    Long selectGetCoinCounts(QueryExt query, @Param("map") Map map);

}
